package cn.ad.server.web.spring.service.components.http.client;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;

public class AdByteArrayOutputStreamHttpResponse extends AdHttpResponse<ByteArrayOutputStream> {

	InputStream getInputStream(){
		ByteArrayOutputStream outputStream = getResult();
		return new ByteArrayInputStream(outputStream.toByteArray());
	}
}
